package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping(value = "bController")
public class BController implements  ExcelInterface{
    @Override
    @RequestMapping(value = "excel")
    public Map<String, Object> excel() {
        Map<String,Object> map = new HashMap<>();
        map.put("code","B");
        return map;
    }
}
